import React        from 'react';

import BarCode      from './BarCode';

export default class extends BarCode {

    draw(value){
        new QRious({
            value,
            size: 512,
            element: this.refs.qr,
        });
    }

    render = () => <canvas ref="qr" className="qrcode"/>;

}
